package oracle.springbootxm.pojo;

import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

@Component
public class MenuInfo {
    private long menuid;
    private String menuName;
    private String menuURL;
    private long menuAuthid;
    private String oper;
    private long parentid;
    private String status;
    private List<MenuInfo> childmenu = new ArrayList<MenuInfo>();

    public long getMenuid() {
        return menuid;
    }

    public void setMenuid(long menuid) {
        this.menuid = menuid;
    }

    public String getMenuName() {
        return menuName;
    }

    public void setMenuName(String menuName) {
        this.menuName = menuName;
    }

    public String getMenuURL() {
        return menuURL;
    }

    public void setMenuURL(String menuURL) {
        this.menuURL = menuURL;
    }

    public long getMenuAuthid() {
        return menuAuthid;
    }

    public void setMenuAuthid(long menuAuthid) {
        this.menuAuthid = menuAuthid;
    }

    public String getOper() {
        return oper;
    }

    public void setOper(String oper) {
        this.oper = oper;
    }

    public long getParentid() {
        return parentid;
    }

    public void setParentid(long parentid) {
        this.parentid = parentid;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public List<MenuInfo> getChildmenu() {
        return childmenu;
    }

    public void setChildmenu(List<MenuInfo> childmenu) {
        this.childmenu = childmenu;
    }
}
